import {
    StyleSheet,
    Dimensions
} from 'react-native';
const windowW = Dimensions.get("window").width
const styles = StyleSheet.create({
    recomCourseBoard: {
        flexDirection: "row",
        flexWrap: "wrap",
        backgroundColor: "#ffffff",
        borderBottomColor: "#eeeeee",
        padding: 5,
    },
    courseItem: {
        width: windowW/2-5,
        padding: 5,
        marginTop: 5,
        marginBottom: 5
    },
    imgView: {
        width: windowW/2-15,
        height: (windowW/2-20)*1080/1920
    },
    courseNameText: {
        fontSize: 13
    },
    teacherInfo: {
        flexDirection: "row",
        alignItems: "center",
        height: 30
    },
    teacherImg: {
        width: 25,
        height:25,
        borderRadius:12,
        marginRight: 5
    },
    teacherName: {
        fontSize: 12,
        color: "#666666"
    },
    price: {
        alignItems: "flex-end",
        marginTop: 5
    },
    priceNum: {
        color: "#f40f40"
    }
});
export default styles;